import Vue from 'vue'

import VueRouter from 'vue-router'
import MyMusic from '@/views/MyMusic.vue'
import FriendView from '@/views/FriendView.vue'
import FindMusic from '@/views/FindMusic.vue'


Vue.use(VueRouter)
const router = new VueRouter({
  routes: [
    {path: '/my', component: MyMusic},
    {path: '/friend', component: FriendView},
    {path: '/find', component: FindMusic},
  ],
  linkActiveClass:'active',
  linkExactActiveClass: 'e-active'
});
export default router